﻿<loki:ViewWindow  x:Class="Luna.UI.Wpf.Install.FirstUserView"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:loki="clr-namespace:Loki.UI.Wpf;assembly=Loki.UI.Wpf"
        Title="Création du premier utilisateur" 
        xmlns:dxlc="http://schemas.devexpress.com/winfx/2008/xaml/layoutcontrol" 
        xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors" 
        mc:Ignorable="d" 
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
        d:DesignHeight="216" 
        d:DesignWidth="320" 
        SizeToContent="WidthAndHeight" 
        Topmost="True" 
        WindowStartupLocation="CenterScreen" 
        WindowStyle="None" 
        ResizeMode="NoResize">
    <dxlc:LayoutControl Orientation="Vertical">
        <dxlc:LayoutItem Label="Nom :" >
            <dxe:TextEdit EditValue="{Binding Path=Name}" NullText="Votre nom." />
        </dxlc:LayoutItem>
        <dxlc:LayoutItem Label="Prénom :" >
            <dxe:TextEdit EditValue="{Binding Path=SurName}" NullText="Votre prénom." />
        </dxlc:LayoutItem>
        <dxlc:LayoutItem Label="Login :" >
            <dxe:TextEdit EditValue="{Binding Path=Login}" NullText="Votre login." />
        </dxlc:LayoutItem>
        <dxlc:LayoutItem Label="Password :">
            <dxe:PasswordBoxEdit EditValue="{Binding Path=Password}" NullText="Votre mot de passe."/>
        </dxlc:LayoutItem>
        <dxlc:LayoutItem Label="Confirmation :">
            <dxe:PasswordBoxEdit EditValue="{Binding Path=Confirm}" NullText="Confirmation de mot de passe."/>
        </dxlc:LayoutItem>
        <dxlc:LayoutGroup>
            <dxlc:LayoutItem>
                <Button Content="OK" Command="{Binding Path=CreateUser}"/>
            </dxlc:LayoutItem>
            <dxlc:LayoutItem>
                <Button Content="Annuler" Command="{Binding Path=Cancel}" />
            </dxlc:LayoutItem>
        </dxlc:LayoutGroup>
    </dxlc:LayoutControl>
</loki:ViewWindow>
